package com.yhsoft.flim.controller.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * @author: yyyyyyyh
 * @create: 2023-12-13
 * @Version 1.0
 **/
@Data
public class FlimSubmitInVo {
    @NotBlank(message = "影院ID不能为空")
    @ApiModelProperty(value = "影院ID")
    private String cinemaId;

    @NotBlank(message = "电影ID不能为空")
    @ApiModelProperty(value = "电影ID")
    private String movieId;

    @NotBlank(message = "场次ID不能为空")
    @ApiModelProperty(value = "场次ID")
    private String showId;

    @NotBlank(message = "座位名称不能为空")
    @ApiModelProperty(value = "座位名称，例:L排07座|L排08座")
    private String seatNames;

    @NotBlank(message = "座位id不能为空")
    @ApiModelProperty(value = "座位id")
    private String seatIds;

    @ApiModelProperty(value = "单位（元），salePrice * num")
    private BigDecimal totalMoney;

    @NotBlank(message = "数量不能为空")
    @ApiModelProperty(value = "数量")
    private String num;

    @NotBlank(message = "影片信息不能为空")
    @ApiModelProperty(value = "影片信息，提交订单页面，最上面的那段文字")
    private String flimInfo;

    @NotBlank(message = "海报不能为空")
    @ApiModelProperty(value = "海报,影片等资源API")
    private String poster;

    @NotBlank(message = "锁座标识不能为空")
    @ApiModelProperty(value = "锁座标识")
    private String applyKey;

    @ApiModelProperty(value = "是否支持调座，true: 允许调座，不传或其他值表示不允许调座")
    private String isChangeSeats;

}
